<%--
  Created by IntelliJ IDEA.
  User: rosekon
  Date: 2022/6/30
  Time: 15:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
        for(int year=1900;year<=2020;year++){
            if((year%4==0&&year%100!=0)||year%400==0){
                out.print("闰年"+year+"<br/>");
            }
        }
    %>
</body>
</html>
